package com.example.whatrubbish.mapper;

import com.example.whatrubbish.model.ReceiverAddress;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component("ReceiverAddressMapper")
public interface ReceiverAddressMapper {
    List<ReceiverAddress> selectByUserId(ReceiverAddress record);

    int deleteByPrimaryKey(Long id);

    int insert(ReceiverAddress record);

    int insertSelective(ReceiverAddress record);

    ReceiverAddress selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ReceiverAddress record);

    int updateByPrimaryKey(ReceiverAddress record);
}